const localState = sessionStorage.getItem('state');
let rootState = {
    userInfo: {
        name: ''
    },
    dynamicTags:[],

}
let studentsState = {}
let teachersState = {
    teacher_courselist: {}, //教师端课程列表
}

if (localState) {
    let state = JSON.parse(localState)
    // console.log("状态管理器的值",state)
    rootState.userInfo = state.userInfo;
    rootState.dynamicTags = state.dynamicTags;

}

export default {
    rootState,
    studentsState,
    teachersState,
}
